package com.koron.order.defect.mapper;

import com.koron.order.defect.bean.po.DefectDispatch;

import java.util.List;

/**
 * (DefectDispatch)表数据库访问层
 *
 * @author zhouj
 * @since 2021-09-03 16:44:50
 */
public interface DefectDispatchMapper {

    DefectDispatch queryById(String id);

    List<DefectDispatch> queryList(DefectDispatch defectDispatch);

    int insert(DefectDispatch defectDispatch);

    int insertOrUpdate(DefectDispatch defectDispatch);

    int update(DefectDispatch defectDispatch);

    int deleteById(String id);

    DefectDispatch queryByOrderId(String orderId);

    int deleteByOrderId(String orderId);

    int updateByDefectId(DefectDispatch defectDispatch);
}
